home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
TERMINAL
/
1589.ZIP
/
TEST.C
< prev
next >
Wrap
Text File
|
1989-03-22
|
407b
|
20 lines
#include <stdio.h>
main()
{
char test[70];
strcat( test,"0123456789");
strcat( test,"0123456789");
strcat( test,"0123456789");
strcat( test,"0123456789");
strcat( test,"0123456789");
strcat( test,"0123456789");
strcat( test,"0123456789");
test[50] = '!';
printf("test[50] = %c, *(test+50) = %c, *(test+50*sizeof(char)) = %c\n",
test[50], *(test+50), *(test+50*sizeof(char)) );
}